Resource sanitizer